package com.wg.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wg.R;
import com.wg.entity.Focus;
import com.wg.entity.dto.FocusDto;

import java.util.List;

public interface FocusService extends IService<Focus> {
    Page<Focus> selectByUserId(Integer userId, Integer pageSize, Integer pageNum);

    List<Focus> getFocusByWg(Long id);

    R addFocus(FocusDto focus);

    R deleteFocus(FocusDto focus);
}
